package edu.zut.hb.software.train.Site.domin;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import edu.zut.hb.software.base.domain.BaseEntity;

@Entity
@Table(name="T_Site")
public class Site  extends BaseEntity{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
    @Id
	@Column(name = "id")
	Long id;
	
//	@ManyToOne
//	@JoinColumn(name = "Way_ID")
//	Way Way;
	
	@Column(name = "place")
	int place;

	public Long getid() {
		return id;
	}

//	public Way getWay() {
//		return Way;
//	}

	public int getplace() {
		return place;
	}

	public void setId(Long id) {
		this.id = id;
	}

//	public void setWay(Way way) {
//		this.way = way;
//	}

	public void setPlace(int place) {
		this.place = place;
	}

	}
	
